package com.bj58.mis.apm.server.logreceiver.repository;

import com.bj58.mis.apm.server.logreceiver.model.ApmPropertySetting;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PropertiesRepository extends JpaRepository<ApmPropertySetting, Long> {

    List<ApmPropertySetting> queryByAppNameAndHostName(String appName, String hostName);

    ApmPropertySetting getByAppNameAndHostNameAndProperty(String appName, String hostName, String property);
}
